18.0 migration survey certification sending#231
Open
layadelcarmen wants to merge 16 commits into
Open
Conversation
Currently translated at 100.0% (11 of 11 strings) Translation: survey-17.0/survey-17.0-survey_certification_sending Translate-URL: https://translation.odoo-community.org/projects/survey-17-0/survey-17-0-survey_certification_sending/it/
… contact level TT56428
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: survey-17.0/survey-17.0-survey_certification_sending Translate-URL: https://translation.odoo-community.org/projects/survey-17-0/survey-17-0-survey_certification_sending/
Currently translated at 100.0% (12 of 12 strings) Translation: survey-17.0/survey-17.0-survey_certification_sending Translate-URL: https://translation.odoo-community.org/projects/survey-17-0/survey-17-0-survey_certification_sending/it/
added 3 commits
June 18, 2026 11:54
…mplate and survey_user_input Add 7 new tests covering previously uncovered branches in: - models/mail_template.py: send_mail skip logic (survey-level, partner-level, and no-skip paths) - models/survey_user_input.py: _mark_done branches (test_entry, no template) and action_manual_send_certification return notifications (success/warning)
Add test for action_manual_send_certification when answer passes but certification_mail_template_id is unset — inner if template: block is skipped, sent_count stays 0, warning notification is returned.
…vey models The module overrides send_mail on all mail.template records. The guard "if self.model == 'survey.user_input'" ensures skip logic never affects templates for other models. Add test to cover the False branch of that guard and prove the override is transparent to non-survey templates.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.